//
//  GANavigationViewController.m
//  Gunterapple
//
//  Created by 热带雨林 on 2021/1/22.
//  Copyright © 2021 热带雨林. All rights reserved.
//

#import "GANavigationViewController.h"

@interface GANavigationViewController ()

@end

@implementation GANavigationViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    
}
- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
    if(self.childViewControllers.count > 0)
         viewController.hidesBottomBarWhenPushed = YES;
    [super pushViewController:viewController animated:animated];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
